Skip to content

SK-3332 Add Java4Shell JDK evidence step and version guard, pin CodeQ… - #474

Open
skyflow-himanshupal wants to merge 3 commits into
mainfrom
SK-3332-java4shell-jdk-guard
Open

skyflow-himanshupal wants to merge 3 commits into
mainfrom
SK-3332-java4shell-jdk-guard

Conversation

@skyflow-himanshupal

Copy link
Copy Markdown
Collaborator

Summary
Addresses Java4Shell (CVE-2026-114938), which affects JDK 17, 21, 25 and 27; JDK 8 and 11 are not affected. Ticket: SK-3332

  • Adds scripts/check-jdk-java4shell.sh, run right after setup-java in every Java job. It logs the JDK build, CPU model, avx512_vbmi and UseBASE64Intrinsics, and fails the job on an unpatched 17/21/25/27 build.
  • Pins codeql.yml and codeql-analysis.yml to Temurin 11. They declared no JDK, so Autobuild used the runner's default, the unpatched 17.0.21+9.
  • No other changes. The 11 and 8 jobs only gain the evidence step.

Testing
Check each job's "JDK evidence and Java4Shell guard" step: the JDK should be 11.x and the step should pass.

@github-actions

Copy link
Copy Markdown

✅ Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.38%. Comparing base (5f6fd21) to head (da5f94c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #474   +/-   ##
=======================================
  Coverage   92.38%   92.38%           
=======================================
  Files         249      249           
  Lines        8799     8799           
  Branches     1268     1268           
=======================================
  Hits         8129     8129           
  Misses        446      446           
  Partials      224      224           
Flag Coverage Δ
common 92.65% <ø> (ø)
flowvault 91.54% <ø> (ø)
skyvault 93.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Module: common 92.65% <ø> (ø)
Module: skyvault 93.77% <ø> (ø)
Module: flowvault 91.54% <ø> (ø)
Service Account 87.76% <ø> (ø)
Vault Data 92.89% <ø> (ø)
Vault Tokens 99.08% <ø> (ø)
Vault Connection 100.00% <ø> (ø)
Vault Controller 82.78% <ø> (ø)
Detect 99.42% <ø> (ø)
Audit 100.00% <ø> (ø)
BIN Lookup 100.00% <ø> (ø)
Config 96.26% <ø> (ø)
Utils 91.72% <ø> (ø)
Errors 100.00% <ø> (ø)
Enums 99.02% <ø> (ø)
Logs 100.00% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f6fd21...da5f94c. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown

✅ Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@github-actions

Copy link
Copy Markdown

✅ Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant